package com.itheima.array;

import com.itheima.domain.Student;

public class Demo01 {

    public static void main(String[] args) {
        int[] arr={11,22,33,44};
        int[][] brr={{11,22,33},{44,55,66},{77,88,99}};

        String[] srr={"鹿晗","吴亦凡","黄子韬","张艺兴"};

        //学生对象存储到数组中
        //数据类型[] 数组名= new 数据类型[]{};
        Student[] students = {new Student("鹿晗",31), new Student("吴亦凡",31), new Student("黄子韬",26)};
        for (int i = 0; i < students.length; i++) {
            //students[i]
            Student student = students[i];
            System.out.println(student);
        }





    }
}
